* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.container {
    background: #d9d9d9;
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem;
}
.error-message {
    color: red;
    background-color: #ffe6e6;
    padding: 10px;
    border: 1px solid red;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    position: relative; /* Ensure it stays visible */
    z-index: 1000; /* Ensure it appears above other elements */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to right,#13114F, #312E81);

}
body::after{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url("Rectangle 1013.png") no-repeat center center/cover;
    filter: blur(1px);
}

.wrapper{
    display: flex;
    justify-content: space-evenly; 
    overflow: hidden;
    flex-wrap: nowrap;
}

.right-section img{
    width: 50%;
}

.right-section{
    width: 50%;
    display: grid;
    align-content: space-evenly;
    text-align: center;
}

.right-section h1{
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: white;
}

.right-section p{
    color: white;
    width: 49%;
    position: relative;
    left: 25.5%;
}

.container img{
    width: 170px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    margin-bottom: 0.5rem;
}

input:focus {
    outline: none;
    border-color: #4338ca;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

input:focus, select:focus {
    outline: none;
    border-color: #4f46e5;
    ring: 2px solid #4f46e5;
}

.submit-btn {
    background: #2233dd;
    color: white;
    border: none;
    padding: 0.12rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}
.submit{
    display: flex;
    flex-direction: row-reverse;
}

.submit-btn svg{
    width: 30px;
}

/*
.pass{
    position: relative;
    top: 5.4rem;
    right: 28rem;
}

*/


.submit-btn:hover {
    background: #1a29b9;
}

.login-link {
    font-size: 0.9rem;
    color: #666;
    margin-top: 3rem;
}

.login-link a {
    color: #2233dd;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* login */

.login-btn {
    width: 100%;
    margin-top: 25px;
    padding: 1.3rem;
    border: 1px solid #ddd;
    background: #2233dd;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

 .community{
    width: 100%;
    margin-top: 25px;
    padding: 1.3rem;
    border: 1px solid #ddd;
    background: #C9C9C9;
    color: black;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
 }

.login{
    display: flex;
    justify-content: center;
}

.forgot{
    
    margin-top: 10px;
}

.forgot a{
    text-decoration: none;
    margin-top: 10px;
}

.forgot a:hover{
    text-decoration: underline;
}

.link{
    margin-top: 20px;
}

.input-wrapper {
    position: relative;
   
}

@media screen and (max-width: 950px) {
    .right-section {
        display: none;
    } 
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: gray;
    margin-top: 1.5rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid gray;
    margin: 0 10px;
}